<div class="layui-tab layui-tab-brief" lay-filter="tab-form">
    <ul class="layui-tab-title">

        @foreach($tabObj->getTabs() as $tab)
            <li class="{{ $tab['active'] ? 'layui-this' : '' }}" lay-id="tab-{{ $tab['id'] }}">
                <a style="color: inherit" href="#tab-{{ $tab['id'] }}">{{ $tab['title'] }}</a>
            </li>
        @endforeach
    </ul>
    <div class="layui-tab-content">
        @foreach($tabObj->getTabs() as $tab)
            <div class="layui-tab-item {{ $tab['active'] ? 'layui-show' : '' }}">
                @foreach($tab['fields'] as $field)
                    {!! $field->render() !!}
                @endforeach
            </div>
        @endforeach
    </div>
</div>